/*******************************************************************************
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *  
 * Copyright (c) 2011 Michael Chan.
 ******************************************************************************/
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2011.05.24 at 09:38:37 AM BST 
//


package com.google.code.solrdimension.parsers.beans;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for dimension complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="dimension">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="exactDimensionValue" type="{http://www.solr-dimensions.com}exactDimensionValue" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="regexDimensionValue" type="{http://www.solr-dimensions.com}regexDimensionValue" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="siftDimensionValue" type="{http://www.solr-dimensions.com}siftDimensionValue" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="alphaRangeDimensionValue" type="{http://www.solr-dimensions.com}alphaRangeDimensionValue" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="intRangeDimensionValue" type="{http://www.solr-dimensions.com}intRangeDimensionValue" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="floatRangeDimensionValue" type="{http://www.solr-dimensions.com}floatRangeDimensionValue" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="id" use="required">
 *         &lt;simpleType>
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             &lt;pattern value="[a-zA-Z0-9_]+"/>
 *           &lt;/restriction>
 *         &lt;/simpleType>
 *       &lt;/attribute>
 *       &lt;attribute name="solrFieldName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="dependOn" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="type" use="required">
 *         &lt;simpleType>
 *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             &lt;enumeration value="default"/>
 *             &lt;enumeration value="manual"/>
 *           &lt;/restriction>
 *         &lt;/simpleType>
 *       &lt;/attribute>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "dimension", propOrder = {
    "exactDimensionValue",
    "regexDimensionValue",
    "siftDimensionValue",
    "alphaRangeDimensionValue",
    "intRangeDimensionValue",
    "floatRangeDimensionValue"
})
public class Dimension {

    protected List<ExactDimensionValue> exactDimensionValue;
    protected List<RegexDimensionValue> regexDimensionValue;
    protected List<SiftDimensionValue> siftDimensionValue;
    protected List<AlphaRangeDimensionValue> alphaRangeDimensionValue;
    protected List<IntRangeDimensionValue> intRangeDimensionValue;
    protected List<FloatRangeDimensionValue> floatRangeDimensionValue;
    @XmlAttribute(required = true)
    protected String id;
    @XmlAttribute(required = true)
    protected String solrFieldName;
    @XmlAttribute(required = true)
    protected String name;
    @XmlAttribute
    protected String dependOn;
    @XmlAttribute
    protected String valueOrder;
    @XmlAttribute(required = true)
    protected String type;

    /**
     * Gets the value of the exactDimensionValue property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the exactDimensionValue property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getExactDimensionValue().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ExactDimensionValue }
     * 
     * 
     */
    public List<ExactDimensionValue> getExactDimensionValue() {
        if (exactDimensionValue == null) {
            exactDimensionValue = new ArrayList<ExactDimensionValue>();
        }
        return this.exactDimensionValue;
    }

    /**
     * Gets the value of the regexDimensionValue property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the regexDimensionValue property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getRegexDimensionValue().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link RegexDimensionValue }
     * 
     * 
     */
    public List<RegexDimensionValue> getRegexDimensionValue() {
        if (regexDimensionValue == null) {
            regexDimensionValue = new ArrayList<RegexDimensionValue>();
        }
        return this.regexDimensionValue;
    }

    /**
     * Gets the value of the siftDimensionValue property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the siftDimensionValue property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSiftDimensionValue().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SiftDimensionValue }
     * 
     * 
     */
    public List<SiftDimensionValue> getSiftDimensionValue() {
        if (siftDimensionValue == null) {
            siftDimensionValue = new ArrayList<SiftDimensionValue>();
        }
        return this.siftDimensionValue;
    }

    /**
     * Gets the value of the alphaRangeDimensionValue property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the alphaRangeDimensionValue property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getAlphaRangeDimensionValue().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link AlphaRangeDimensionValue }
     * 
     * 
     */
    public List<AlphaRangeDimensionValue> getAlphaRangeDimensionValue() {
        if (alphaRangeDimensionValue == null) {
            alphaRangeDimensionValue = new ArrayList<AlphaRangeDimensionValue>();
        }
        return this.alphaRangeDimensionValue;
    }

    /**
     * Gets the value of the intRangeDimensionValue property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the intRangeDimensionValue property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getIntRangeDimensionValue().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link IntRangeDimensionValue }
     * 
     * 
     */
    public List<IntRangeDimensionValue> getIntRangeDimensionValue() {
        if (intRangeDimensionValue == null) {
            intRangeDimensionValue = new ArrayList<IntRangeDimensionValue>();
        }
        return this.intRangeDimensionValue;
    }

    /**
     * Gets the value of the floatRangeDimensionValue property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the floatRangeDimensionValue property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getFloatRangeDimensionValue().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link FloatRangeDimensionValue }
     * 
     * 
     */
    public List<FloatRangeDimensionValue> getFloatRangeDimensionValue() {
        if (floatRangeDimensionValue == null) {
            floatRangeDimensionValue = new ArrayList<FloatRangeDimensionValue>();
        }
        return this.floatRangeDimensionValue;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setId(String value) {
        this.id = value;
    }

    /**
     * Gets the value of the solrFieldName property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getSolrFieldName() {
        return solrFieldName;
    }

    /**
     * Sets the value of the solrFieldName property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setSolrFieldName(String value) {
        this.solrFieldName = value;
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setName(String value) {
        this.name = value;
    }

    /**
     * Gets the value of the dependOn property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDependOn() {
        return dependOn;
    }

    /**
     * Sets the value of the valueOrder property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setValueOrder(String value) {
        this.valueOrder = value;
    }
    
    /**
     * Gets the value of the valueOrder property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getValueOrder() {
        return valueOrder;
    }

    /**
     * Sets the value of the dependOn property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDependOn(String value) {
        this.dependOn = value;
    }

    /**
     * Gets the value of the type property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getType() {
        return type;
    }

    /**
     * Sets the value of the type property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setType(String value) {
        this.type = value;
    }

}
